package com.clkj.zhonghui.service.pay;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * @author yawang
 * @create 2024/07/12 09:29:04
 **/
public interface PayService {

    Map<String, Object> pay(Integer userId, Integer shopId, String orderNumber, Integer parentId,
                            String realMoney, Double rebate,Integer flag,String openId,Integer ifDown, HttpServletRequest request);

    void payOrderSuccess(HttpServletRequest request, HttpServletResponse response);

    Map payMiniOrder(Integer userId, Integer shopId, String orderNumber, Integer parentId, Integer highestId,Integer note,String realMoney, String rebate, String rebates, String openId, HttpServletRequest request);

    void payMiniOrderSuccess(HttpServletRequest request, HttpServletResponse response);

    Map payMiniProductOrder(Integer userId, Integer shopId, String orderNumber, String realMoney, Double usedYh, String openId, HttpServletRequest request);

    void payMiniProductOrderSuccess(HttpServletRequest request, HttpServletResponse response);
}
